package com.centaline.androidsalesblog.api.sale;

import com.centaline.androidsalesblog.api.SaleApi;
import com.centaline.androidsalesblog.model.responseobject.AutoEstateRo;
import com.centanet.framework.interfaces.IResponseListener;

/**
 * 小区自动匹配
 * Created by Lihq on 16/3/17.
 */
public class AutoEstateApi extends SaleApi<AutoEstateRo> {

    private String key;

    public AutoEstateApi(Class<?> tag, Class<AutoEstateRo> aClass, IResponseListener<AutoEstateRo> iResponseListener) {
        super(tag, aClass, iResponseListener);
    }

    public void setKey(String key) {
        this.key = key;
    }

    @Override
    protected void setParams() {
        putParams("key", key);
    }

    @Override
    protected String getPath() {
        return "AutoEstate";
    }
}
